Automattic\WooCommerce\Blocks\Patterns\PatternsHelper S

Total Complexity 30
Dependencies 3
Dependents 3
Total lines 188
Lines of code 101
Logical lines of code 56
Comment lines 55
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_patterns_dictionary()
A
50 11 26
get_pattern_images()
S
61 4 13
find_pattern_by_slug()
S
63 4 11
get_pattern_content()
S
64 3 10
get_image_url()
S
65 3 9
upsert_patterns_ai_data_post()
S
59 2 15
delete_patterns_ai_data_post()
S
70 2 6
get_patterns_ai_data_post()
S
62 1 11